package com.anycl.design.structural.adapter.byextends;

public class Adapter extends Adaptee implements Target {
    public void targetMethod1() {
        System.out.println("Adapter targetMethod1 invoked");
        methodA();
    }

    public void targetMethod2() {
        System.out.println("Adapter targetMethod2 invoked");
        methodB();
    }
}
